﻿using JoceLinItemDemo.Application.UserInfoMessage.Dto;
using JoceLinItemDemo.Domain;
using JoceLinItemDemo.EntityFrameworkCore;
using System;
using Volo.Abp.Application;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;

namespace JoceLinItemDemo.Application
{
    [DependsOn(typeof(AbpDddApplicationModule),typeof(DemoDomainModule),typeof(DemoEntityFrameworkCoreModule),typeof(AbpAutoMapperModule))]
    public class DemoApplicationModule:AbpModule
    {
        public override void ConfigureServices(ServiceConfigurationContext context)
        {
            Configure<AbpAutoMapperOptions>(options =>
            {
                //接口文件中每添加一个Profile类都要在此实现
                //举例：options.AddProfile<文件类名>();
                options.AddProfile<UserInfoMessagProfile>();
            });
        }
    }
}
